package robots.correction;

import robots.RealGhost;
import robots.VirtualGhost;

public class VirtualRobotCorrector extends RobotCorrector {
	private VirtualGhost ghost;
	public VirtualRobotCorrector(VirtualGhost ghost){
		this.ghost=ghost;
		robotAngleCorrection=2;
	}
	@Override
	protected void travel(int distance) {
		ghost.travel(distance,true, false);
		
	}
	@Override
	protected void rotate(int degrees) {
		ghost.rotate(degrees, true);
	}
	@Override
	public void lineCorrect() {
		//doet niks (tenzij iemand zin heeft om linecorrection te implementeren voor virtual ghosts... Niemand? )
	}
}
